Sha256: b6b74b1f90c4db8ebe1ed4719bcef3c55db431ebcd9b9f080b2f15bda9a4ef3b

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

# this file is automatically required in when you require 'assert' in your tests
# put test helpers here

# add root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))

class Assert::Context

  def self.be_styled
    called_from = caller.first
    Assert::Macro.new("have style attributes") do
      should have_accessor :style_id

      should "set the style default" do
        assert_equal nil, subject.class.new.style_id
      end
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xmlss-1.0.0.rc.4 test/helper.rb
xmlss-1.0.0.rc.3 test/helper.rb
xmlss-1.0.0.rc.2 test/helper.rb