Sha256: bfd6ced50c5c251a6878a0766ea3ed90862961ca873774ee90f53fcbd0eb420d
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
require_relative "./helpers" describe Spinebox do before(:each) do Dir.chdir "#{Spinebox.root}/templates/app" Spinebox::Routes.reset! end it "should load the routes from the default path" do Spinebox.app.should be_a Spinebox::Reloader end it "should disable the reloading" do Spinebox.config.reload = false Spinebox.load_routes! Spinebox::Routes.app.should be_a Rack::URLMap end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
spinebox-0.0.15 | spec/routes_spec.rb |
spinebox-0.0.14 | spec/routes_spec.rb |
spinebox-0.0.13 | spec/routes_spec.rb |
spinebox-0.0.12 | spec/routes_spec.rb |
spinebox-0.0.11 | spec/routes_spec.rb |