diff --git a/spec/lib/generators/rest_api_generator/resource_generator_spec.rb b/spec/lib/generators/rest_api_generator/resource_generator_spec.rb index 710b378..117e51c 100644 --- a/spec/lib/generators/rest_api_generator/resource_generator_spec.rb +++ b/spec/lib/generators/rest_api_generator/resource_generator_spec.rb @@ -34,7 +34,7 @@ describe "migration file" do subject { migration_file("db/migrate/create_users.rb") } - it { is_expected.to exist } + it { is_expected.to be_a_migration } end describe "routes" do