spec/lib/application_spec.rb in picky-1.4.1 vs spec/lib/application_spec.rb in picky-1.4.2
- old
+ new
@@ -17,12 +17,12 @@
rack_adapter.stub! :exclaim # Stopping it from exclaiming.
route %r{^/books/full} => full
route %r{^/books/live} => live
end
- Tokenizers::Index.default.tokenize 'some text'
- Tokenizers::Query.default.tokenize 'some text'
+ Internals::Tokenizers::Index.default.tokenize 'some text'
+ Internals::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.
@@ -95,10 +95,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(FrontendAdapters::Rack)
+ Application.rack_adapter.should be_kind_of(Internals::FrontendAdapters::Rack)
end
it "should cache the instance" do
Application.rack_adapter.should == Application.rack_adapter
end
end
\ No newline at end of file