Sha256: c7259bf61ce61b9ee0ed23aae8124ce6f4cf046f49e7a4a185d862f7d5a4fd55
Contents?: true
Size: 779 Bytes
Versions: 2
Compression:
Stored size: 779 Bytes
Contents
Feature: Test multiple resources Background: When I generate a new rails application And I generate resources "user post comment like" And I configure the application to use rspec-rails And I run the rspec generator And I configure the application to use "shoulda_routing" Scenario: Test multiple resources Given I write to "config/routes.rb" with: """ TestApp::Application.routes.draw do resources :users, :posts, :comments end """ And I write to "spec/routing/routing_spec.rb" with: """ require 'spec_helper' describe 'Routes' do resources :users, :posts, :comments, :likes end """ When I run routing specs Then the output should contain "28 examples, 7 failures"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoulda_routing-0.0.2 | features/multiple_resources.feature |
shoulda_routing-0.0.1 | features/multiple_resources.feature |