test/commands/generator_test.rb in pliny-0.0.1.pre vs test/commands/generator_test.rb in pliny-0.0.1.pre2
- old
+ new
@@ -72,10 +72,10 @@
end
end
describe "generating models" do
before do
- @gen.args = ["model", "artists"]
+ @gen.args = ["model", "artist"]
@gen.run!
end
it "creates a migration" do
assert File.exists?("db/migrate/#{@t.to_i}_create_artists.rb")