Sha256: db4e74a4d6036593ad76fa9c988fb22e5cedb2f7565d2f2bacec0311ad1790f9

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

require 'rspec'
require 'fakeweb'
require 'unicafe'

FakeWeb.allow_net_connect = false

FIXTURES = File.dirname(File.expand_path(__FILE__)) + "/fixtures"

def example_menu_xml
  File.read("#{FIXTURES}/example_menu.xml")
end

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
  config.before(:each) do
    FakeWeb.clean_registry
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unicafe-0.0.3 spec/spec_helper.rb