spec/generators/api_generator_spec.rb in gris-0.4.7 vs spec/generators/api_generator_spec.rb in gris-0.4.8

- old
+ new

@@ -80,11 +80,9 @@ it 'creates an api spec' do expected_api_file = File.join(generator_tmp_directory, 'spec/endpoints/articles_endpoint_spec.rb') api_code = File.read(expected_api_file) expect(api_code).to match(/describe ArticlesEndpoint/) expect(api_code).to match(/returns an article/) - expect(api_code).to match(/it_should_behave_like 'an endpoint with token_authentication!'/) - expect(api_code).to match %r{'get', '/articles/1'} end it 'creates a fabricator' do expected_fabricator_file = File.join(generator_tmp_directory, 'spec/fabricators/articles_fabricator.rb') fabricator_code = File.read(expected_fabricator_file)