Sha256: 4a54f2400a1041ec9fdfca92f6c2e02ac3940e534891f604e7d92d077b6be2e8

Contents?: true

Size: 358 Bytes

Versions: 27

Compression:

Stored size: 358 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'rspec/autorun'

RSpec.configure do |config|
end

def normalize(str)
  str.split("\n").map(&:strip).join("")
end

RSpec::Matchers.define :like_of do |expected|
  match do |actual|
    normalize(actual) == normalize(expected)
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
semantic-ui-sass-0.10.0.0 spec/spec_helper.rb
semantic-ui-sass-0.9.6.0 spec/spec_helper.rb
semantic-ui-sass-0.9.5.0 spec/spec_helper.rb
semantic-ui-sass-0.9.4.0 spec/spec_helper.rb
semantic-ui-sass-0.9.3.0 spec/spec_helper.rb
semantic-ui-sass-0.9.2.0 spec/spec_helper.rb
semantic-ui-sass-0.9.1.0 spec/spec_helper.rb