spec/lib/application_spec.rb in picky-2.5.2 vs spec/lib/application_spec.rb in picky-2.6.0

- old
+ new

@@ -13,12 +13,12 @@ rack_adapter.stub! :exclaim # Stopping it from exclaiming. route %r{^/books} => Search.new(books) end - Internals::Tokenizers::Index.default.tokenize 'some text' - Internals::Tokenizers::Query.default.tokenize 'some text' + Tokenizers::Index.default.tokenize 'some text' + Tokenizers::Query.default.tokenize 'some text' }.should_not raise_error end it "should run ok" do lambda { # Here we just test if the API can be called ok. @@ -103,10 +103,10 @@ describe 'rack_adapter' do it 'should be there' do lambda { Application.rack_adapter }.should_not raise_error end it "should return a new FrontendAdapters::Rack instance" do - Application.rack_adapter.should be_kind_of(Internals::FrontendAdapters::Rack) + Application.rack_adapter.should be_kind_of(FrontendAdapters::Rack) end it "should cache the instance" do Application.rack_adapter.should == Application.rack_adapter end end \ No newline at end of file