spec/generators/scaffold_generator_spec.rb in gris-0.4.0 vs spec/generators/scaffold_generator_spec.rb in gris-0.4.2

- old
+ new

@@ -52,9 +52,14 @@ it 'adds the puma gem in the Gemfile' do gemfile = File.read("#{app_path}/Gemfile") expect(gemfile).to match(/gem 'puma'/) end + it 'adds the gris_paginator gem in the Gemfile' do + gemfile = File.read("#{app_path}/Gemfile") + expect(gemfile).to match(/gem 'gris_paginator'/) + end + it 'generates an application endpoint' do expect(File).to exist("#{app_path}/app/endpoints/application_endpoint.rb") end context 'application_endpoint' do