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.0.0pre2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.0.0pre1 test_support/spec/support/matchers/helper_matcher.rb