Sha256: de557a380788116bd5587481c80030f7646c4868cdcd1a3822b348307118695b

Contents?: true

Size: 225 Bytes

Versions: 11

Compression:

Stored size: 225 Bytes

Contents

require 'spec_helper'

describe Restfulness::Dispatcher do

  describe "#initialize" do
    it "should assign app variable" do
      obj = Restfulness::Dispatcher.new(:foo)
      obj.app.should eql(:foo)
    end
  end


end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
restfulness-0.3.2 spec/unit/dispatcher_spec.rb
restfulness-0.3.1 spec/unit/dispatcher_spec.rb
restfulness-0.3.0 spec/unit/dispatcher_spec.rb
restfulness-0.2.6 spec/unit/dispatcher_spec.rb
restfulness-0.2.5 spec/unit/dispatcher_spec.rb
restfulness-0.2.4 spec/unit/dispatcher_spec.rb
restfulness-0.2.3 spec/unit/dispatcher_spec.rb
restfulness-0.2.2 spec/unit/dispatcher_spec.rb
restfulness-0.2.1 spec/unit/dispatcher_spec.rb
restfulness-0.2.0 spec/unit/dispatcher_spec.rb
restfulness-0.1.0 spec/unit/dispatcher_spec.rb