Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/rails/rails
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Sprenger committed May 24, 2011
2 parents ab0d2f2 + b8118ef commit e366cd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion railties/test/generators/plugin_new_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ def test_create_mountable_application_with_mountable_option
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

Expand Down

0 comments on commit e366cd7

Please sign in to comment.