Sha256: 6a9ebecf5a3f8f89e83bf193d509c858d00fa9e3bd0025f7a2626cb3b0ab0c58
Contents?: true
Size: 1.08 KB
Versions: 19
Compression:
Stored size: 1.08 KB
Contents
require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("../internal", __FILE__)) <<<<<<< HEAD require 'rspec/rails' require 'webmock/rspec' ======= require 'simplecov' SimpleCov.start do add_filter "/spec/" end module BrowserConfigHelper def url_options { protocol: 'http://', host: 'browse-everything.example.edu' } end def stub_configuration BrowseEverything.configure({ "file_system" => { home: File.expand_path('../fixtures/file_system',__FILE__) }, "box" => { client_id: "BoxClientId", client_secret: "BoxClientSecret" }, "drop_box" => { app_key: "DropBoxAppKey", app_secret: "DropBoxAppSecret" }, "google_drive" => { client_id: "GoogleClientId", client_secret: "GoogleClientSecret" }, "sky_drive" => { client_id: "SkyDriveClientId", client_secret: "SkyDriveClientSecret" } }) end def unstub_configuration BrowseEverything.configure(nil) end end >>>>>>> Add coverage and configuration stubs
Version data entries
19 entries across 19 versions & 1 rubygems