spec/generators/scaffold_generator_spec.rb in gris-0.4.5 vs spec/generators/scaffold_generator_spec.rb in gris-0.4.6
- old
+ new
@@ -96,11 +96,11 @@
it 'defines RootPresenter module' do
expect(root_presenter_file).to match(/module RootPresenter/)
end
- it 'includes Gris::RootPresenter' do
- expect(RootPresenter).to include(Gris::RootPresenter)
+ it 'includes Gris::Presenter' do
+ expect(RootPresenter).to include(Gris::Presenter)
end
it 'includes link to self' do
expect(root_presenter_file).to match(/link :self do/)
end