Skip to content

Commit 2c48fea

Browse files
authored
Merge pull request #800 from BookOfGreg/correct-test
Correct CoffeeGeneratorTest
2 parents 8cf38f3 + 32744d0 commit 2c48fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/generators/coffee_component_generator_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def class_name
2222
test 'that it the uses CoffeeScript syntax' do
2323
run_generator %w(GeneratedComponent name --coffee)
2424

25-
assert_file filename, /^class @#{class_name}\sextends\sReact\.Component/
25+
assert_file filename, /^class #{class_name}\sextends\sReact\.Component/
2626
end
2727

2828
test 'that propTypes get assigned' do

0 commit comments

Comments
 (0)