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.19.3.0 spec/spec_helper.rb
semantic-ui-sass-0.16.1.0 spec/spec_helper.rb
semantic-ui-sass-0.15.5.0 spec/spec_helper.rb
semantic-ui-sass-0.15.4.2 spec/spec_helper.rb
semantic-ui-sass-0.15.4.0 spec/spec_helper.rb
semantic-ui-sass-0.15.2.0 spec/spec_helper.rb
semantic-ui-sass-0.15.1.0 spec/spec_helper.rb
semantic-ui-sass-0.14.0.0 spec/spec_helper.rb
semantic-ui-sass-0.13.1.0 spec/spec_helper.rb
semantic-ui-sass-0.13.0.0 spec/spec_helper.rb
semantic-ui-sass-0.12.5.0 spec/spec_helper.rb
semantic-ui-sass-0.12.4.0 spec/spec_helper.rb
semantic-ui-sass-0.12.3.0 spec/spec_helper.rb
semantic-ui-sass-0.12.2.0 spec/spec_helper.rb
semantic-ui-sass-0.12.1.0 spec/spec_helper.rb
semantic-ui-sass-0.12.0.0 spec/spec_helper.rb
semantic-ui-sass-0.11.0.0 spec/spec_helper.rb
semantic-ui-sass-0.10.3.0 spec/spec_helper.rb
semantic-ui-sass-0.10.2.0 spec/spec_helper.rb
semantic-ui-sass-0.10.1.0 spec/spec_helper.rb