Sha256: 5ccf6af58006484569014c6c64e86c422d34e32fed9f3760e82874c8cf241f7b

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

module ShouldaRouting
  module Namespaces
    describe Base do
      subject { described_class.new(:admin, options: "options") }

      describe "initialize" do
        it { expect(subject.options).to eq({options: "options"})}
        it { expect(subject.current).to eq([:admin]) }
      end

      describe "#test!" do
        pending
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoulda_routing-0.0.2 spec/shoulda_routing/namespaces/base_spec.rb