Sha256: 5ec74f28ddead1ce7c151bdfa0b9a44731e89cd50889b6320d9a4c5d82e48eef

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

require File.join(File.dirname(__FILE__), %w[.. spec_helper])

AppSlice::TestHelpers.require_app_slice!

describe AppSlice do
  it "should have init!" do
    AppSlice.init!
  end
  
  it "should initialize with APP_SLICE value" do
    APP_SLICE = 'foo.com'
    AppSlice.init!
    AppSlice.app.should eql(APP_SLICE)
  end
  
  it "should have name" do
    AppSlice.should respond_to(:name)
  end
  
  it "should have app" do
    AppSlice.should respond_to(:app)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bradgessler-app-slice-0.2.0 spec/specs/app_slice_spec.rb
bradgessler-app-slice-0.2.1 spec/specs/app_slice_spec.rb
bradgessler-app-slice-0.2.2 spec/specs/app_slice_spec.rb
bradgessler-app-slice-0.2.3 spec/specs/app_slice_spec.rb
bradgessler-app-slice-0.2.4 spec/specs/app_slice_spec.rb