Sha256: 0ae47782fbfdc4a412253ee4869dbbe80d0fdc716952d08ce875b918a6f9018d

Contents?: true

Size: 547 Bytes

Versions: 16

Compression:

Stored size: 547 Bytes

Contents

require 'rubygems'
gem 'activesupport'
gem 'actionpack'
require File.dirname(__FILE__)+'/../lib/block_helpers'

# Hacks to get spec/rails to work
require 'action_controller'
$:.unshift File.dirname(__FILE__)+'/for_spec_rails'
RAILS_ENV = 'test'

require 'spec'
require 'spec/rails'

Spec::Runner.configure do |config|
end

def match_html(html)
  # Match two strings, but don't care about whitespace
  simple_matcher("should match #{html}"){|given| given.strip.gsub(/\s+/,' ').gsub('> <','><') == html.strip.gsub(/\s+/,' ').gsub('> <','><') }
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
markevans-block_helpers-0.1.0 spec/spec_helper.rb
markevans-block_helpers-0.2.0 spec/spec_helper.rb
markevans-block_helpers-0.2.1 spec/spec_helper.rb
markevans-block_helpers-0.2.10 spec/spec_helper.rb
markevans-block_helpers-0.2.11 spec/spec_helper.rb
markevans-block_helpers-0.2.2 spec/spec_helper.rb
markevans-block_helpers-0.2.3 spec/spec_helper.rb
markevans-block_helpers-0.2.4 spec/spec_helper.rb
markevans-block_helpers-0.2.5 spec/spec_helper.rb
markevans-block_helpers-0.2.6 spec/spec_helper.rb
markevans-block_helpers-0.2.7 spec/spec_helper.rb
markevans-block_helpers-0.2.8 spec/spec_helper.rb
block_helpers-0.3.3 spec/spec_helper.rb
block_helpers-0.3.2 spec/spec_helper.rb
block_helpers-0.3.0 spec/spec_helper.rb
block_helpers-0.2.11 spec/spec_helper.rb