Sha256: b9251cf88f36791b113445f527728898c59fdf87b408a90bfcce321bc56ecef8

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

require 'spec_helper'

describe SubZero::Environment do

  subject do
    Class.new { extend SubZero::Environment }
  end

  its(:env) { should eq('test') }

  specify '#env?' do
    subject.env.test?.should be_true
    subject.env.development?.should be_false
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sub_zero-0.0.9 spec/sub_zero/environment_spec.rb
sub_zero-0.0.8 spec/sub_zero/environment_spec.rb
sub_zero-0.0.7 spec/sub_zero/environment_spec.rb
sub_zero-0.0.6 spec/sub_zero/environment_spec.rb
sub_zero-0.0.5 spec/sub_zero/environment_spec.rb