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-5.0.0.pre2 spec/support/matchers/helper_matcher.rb
hydra-file-access-5.0.0.pre1 spec/support/matchers/helper_matcher.rb
hydra-core-5.0.0.pre1 spec/support/matchers/helper_matcher.rb
hydra-head-4.1.1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.1.0 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.3 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.0 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.0.rc6 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.0.rc5 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.0.rc4 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.0.rc3 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-4.0.0.rc2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.3.0 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.2.2 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.2.1 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.2.0 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.2.0.pre3 test_support/spec/support/matchers/helper_matcher.rb
hydra-head-3.2.0.pre2 test_support/spec/support/matchers/helper_matcher.rb