Sha256: df6aa2e5510ad5b50692cdbf77bc892c1ff82117f2df340955ca55e5bea5948b

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

# this file is automatically required when you run `assert`
# put any test helpers here

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

# require pry for debugging (`binding.pry`)
require 'pry'

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

1 entries across 1 versions & 1 rubygems

Version Path
xmlss-1.0.0 test/helper.rb