From 32744d0a414bb742503e26171ec7a3ce5bd46393 Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 3 Oct 2017 14:25:16 +0100 Subject: [PATCH] Correct CoffeeGeneratorTest --- test/generators/coffee_component_generator_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/generators/coffee_component_generator_test.rb b/test/generators/coffee_component_generator_test.rb index bfc8ae2af..73c4812df 100644 --- a/test/generators/coffee_component_generator_test.rb +++ b/test/generators/coffee_component_generator_test.rb @@ -22,7 +22,7 @@ def class_name test 'that it the uses CoffeeScript syntax' do run_generator %w(GeneratedComponent name --coffee) - assert_file filename, /^class @#{class_name}\sextends\sReact\.Component/ + assert_file filename, /^class #{class_name}\sextends\sReact\.Component/ end test 'that propTypes get assigned' do