Skip to content

Commit

Permalink
Merge pull request railsware#35 from yhourdel/master
Browse files Browse the repository at this point in the history
Using routes helper as requested
  • Loading branch information
bogdan committed Feb 18, 2012
2 parents 7456e15 + 98e9d87 commit 3e65e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/js_routes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
context "using optional path fragments" do
context "including not optional parts" do
it "should include everything that is not optional" do
evaljs("Routes.foo_path()").should == "/other_optional"
evaljs("Routes.foo_path()").should == routes.foo_path
end
end

Expand Down

0 comments on commit 3e65e44

Please sign in to comment.