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-core-13.0.0 spec/support/matchers/helper_matcher.rb
hydra-core-12.1.0 spec/support/matchers/helper_matcher.rb
hydra-core-12.0.2 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.7 spec/support/matchers/helper_matcher.rb
hydra-core-12.0.1 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.6 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.5 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.4 spec/support/matchers/helper_matcher.rb
hydra-core-12.0.0 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.1 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.0 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.0.rc2 spec/support/matchers/helper_matcher.rb
hydra-core-10.7.0 spec/support/matchers/helper_matcher.rb
hydra-core-10.6.2 spec/support/matchers/helper_matcher.rb
hydra-core-10.6.1 spec/support/matchers/helper_matcher.rb
hydra-core-10.6.0 spec/support/matchers/helper_matcher.rb
hydra-core-10.5.1 spec/support/matchers/helper_matcher.rb
hydra-core-11.0.0.rc1 spec/support/matchers/helper_matcher.rb
hydra-core-10.5.0 spec/support/matchers/helper_matcher.rb
hydra-core-8.2.0 spec/support/matchers/helper_matcher.rb