spec/spec_helper.rb in cfoundry-0.4.21 vs spec/spec_helper.rb in cfoundry-0.5.0

- old
+ new

@@ -1,16 +1,16 @@ +SPEC_ROOT = File.dirname(__FILE__).freeze + require "rspec" require "cfoundry" require "webmock/rspec" +require "ostruct" Dir[File.expand_path('../{support,fakes}/**/*.rb', __FILE__)].each do |file| require file end -def random_string(tag = "random") - sprintf("%s-%x", tag, rand(10 ** 6)) -end - RSpec.configure do |c| c.include Fake::FakeMethods + c.include V1Fake::FakeMethods c.mock_with :rr end \ No newline at end of file