Sha256: 2733ba8b89914ab2a5c7dc3bd032083ba99a3aaf14fdb0ca313f9d6970825599

Contents?: true

Size: 445 Bytes

Versions: 7

Compression:

Stored size: 445 Bytes

Contents

# encoding: utf-8
#
require 'spec_helper'

describe Adapters::Rack::LiveParameters do
  
  before(:each) do
    @live_parameters = stub :live_parameters
    @adapter         = Adapters::Rack::LiveParameters.new @live_parameters
  end
  
  describe 'to_app' do
    it 'works' do
      lambda { @adapter.to_app }.should_not raise_error
    end
    it 'returns the right thing' do
      @adapter.to_app.should respond_to(:call)
    end
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picky-1.4.1 spec/lib/adapters/rack/live_parameters_spec.rb
picky-1.4.0 spec/lib/adapters/rack/live_parameters_spec.rb
picky-1.3.4 spec/lib/adapters/rack/live_parameters_spec.rb
picky-1.3.3 spec/lib/adapters/rack/live_parameters_spec.rb
picky-1.3.2 spec/lib/adapters/rack/live_parameters_spec.rb
picky-1.3.1 spec/lib/adapters/rack/live_parameters_spec.rb
picky-1.3.0 spec/lib/adapters/rack/live_parameters_spec.rb