diff options
Diffstat (limited to 'spec/routing/companies_spec.rb')
| -rw-r--r-- | spec/routing/companies_spec.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/spec/routing/companies_spec.rb b/spec/routing/companies_spec.rb index df16079f3..774431dc3 100644 --- a/spec/routing/companies_spec.rb +++ b/spec/routing/companies_spec.rb @@ -3,19 +3,19 @@ require 'spec_helper'  describe CompaniesController do    describe "routing" do      it "not recognize #routes" do -      get( "/line_referentials/1/companies/2/routes").should_not route_to( +      expect(get( "/line_referentials/1/companies/2/routes")).not_to route_to(          :controller => "companies", :action => "routes",          :line_referential_id => "1", :id => "2"        )      end      it "not recognize #lines" do -      get( "/line_referentials/1/companies/2/lines").should_not route_to( +      expect(get( "/line_referentials/1/companies/2/lines")).not_to route_to(          :controller => "companies", :action => "lines",          :line_referential_id => "1", :id => "2"        )      end      it "recognize and generate #show" do -      get( "/line_referentials/1/companies/2").should route_to( +      expect(get( "/line_referentials/1/companies/2")).to route_to(          :controller => "companies", :action => "show",          :line_referential_id => "1", :id => "2"        ) | 
