1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix failing test suite (please run tests before sending pull requests :S)

This commit is contained in:
José Valim 2011-05-24 12:37:57 +02:00
parent 00be5bd75d
commit b8118ef492

View file

@ -170,8 +170,9 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase
end
def test_creating_gemspec
run_generator
assert_file "bukkits.gemspec", /s.name = "bukkits"/
assert_file "bukkits.gemspec", /s.files = Dir["{app,config,lib}\/**\/*"]/
assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,lib\}\/\*\*\/\*"\]/
assert_file "bukkits.gemspec", /s.version = "0.0.1"/
end