Sha256: c26f11e38e7cc93fdc190e95a6f04d73c4a9cadc0c8cf4bc8c72d15bab429408

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

require 'spec_helper'

describe Restfulness::Dispatcher do

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


end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
restfulness-0.3.6 spec/unit/dispatcher_spec.rb
restfulness-0.3.5 spec/unit/dispatcher_spec.rb
restfulness-0.3.4 spec/unit/dispatcher_spec.rb
restfulness-0.3.3 spec/unit/dispatcher_spec.rb