Sha256: bfed79d0f5339dc68e31b0f3e630585b21709ae5574c9305dd24597f5010a2ef

Contents?: true

Size: 321 Bytes

Versions: 8

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'
module Myrrha
  describe "Coercions#subdomain?" do
    let(:r){ Coercions.new }

    before(:all) do
      class Coercions
        public :subdomain?
      end
    end

    specify {
      r.subdomain?(Symbol, Object).should be_true
      r.subdomain?(Class, Module).should be_true
    }

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
myrrha-3.0.0.rc7 spec/coercions/test_subdomain.rb
myrrha-3.0.0.rc6 spec/coercions/test_subdomain.rb
myrrha-3.0.0.rc5 spec/coercions/test_subdomain.rb
myrrha-3.0.0.rc4 spec/coercions/test_subdomain.rb
myrrha-3.0.0.rc3 spec/coercions/test_subdomain.rb
myrrha-3.0.0.rc2 spec/coercions/test_subdomain.rb
myrrha-3.0.0.rc1 spec/coercions/test_subdomain.rb
myrrha-2.0.0 spec/coercions/test_subdomain.rb