spec/generators/scaffold_generator_spec.rb in gris-0.3.9 vs spec/generators/scaffold_generator_spec.rb in gris-0.4.0
- old
+ new
@@ -95,7 +95,11 @@
it 'includes Gris::Presenter' do
expect(RootPresenter).to include(Gris::Presenter)
end
end
+
+ it 'generates a token authentication spec helper endpoint' do
+ expect(File).to exist("#{app_path}/spec/support/shared_authentication_spec_helper.rb")
+ end
end
end