Sha256: 4d91f8e5c7364ecbd277a7f85dd914a4efc1e4e1d38f1589442b5760068fe6ba

Contents?: true

Size: 332 Bytes

Versions: 202

Compression:

Stored size: 332 Bytes

Contents

RSpec::Matchers.define :be_html_safe do 
  match do |actual|
    actual.html_safe?
  end
  failure_message_for_should do |actual|
    "Expected that #{actual.inspect} would be marked as html safe"
  end

  failure_message_for_should_not do |actual|
    "Expected that #{actual.inspect} would not be marked as html safe"
  end
end


Version data entries

202 entries across 202 versions & 3 rubygems

Version Path
hydra-head-3.2.0.pre1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.5 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.4 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.3 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.rc2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.rc1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.pre5 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.pre4 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.pre3 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.pre2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.0 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.1.0.pre1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.0.rc2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.0.rc1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.0pre4 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.0pre3 test_support/spec/support/matchers/helper_matcher.rb