spec/private/grapher_spec.rb in joshbuddy-usher-0.4.8 vs spec/private/grapher_spec.rb in joshbuddy-usher-0.4.10
- old
+ new
@@ -4,10 +4,10 @@
describe "Usher grapher" do
before(:each) do
@route_set = Usher.new
@route_set.reset!
- @url_generator = Usher::Generators::URL.new(@route_set)
+ @url_generator = Usher::Util::Generators::URL.new(@route_set)
end
it "should find a simple path" do
@route_set.add_route('/:a/:b/:c')
@url_generator.generate(nil, {:a => 'A', :b => 'B', :c => 'C'}).should == '/A/B/C'
\ No newline at end of file