Sha256: f2d51a09266a9f8a8149ac85fb6ce289063e6f6619327af52963b0a397664aad
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
# encoding: UTF-8 require 'simplecov' and SimpleCov.start do add_filter "spec/" end require 'mojito' describe Mojito::Rendering::Content do subject do Mojito.base_application Mojito::Rendering::Content do on do write 'test content' ; halt! end end.mock_request end it { subject.get('/').body.should == 'test content' } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mojito-0.1.2 | spec/mojito/rendering/content_spec.rb |
mojito-0.1.1 | spec/mojito/rendering/content_spec.rb |