Skip to content

Instantly share code, notes, and snippets.

@lamp
Created July 31, 2014 22:54
Show Gist options
  • Select an option

  • Save lamp/3e6f1b5171d6358b66c7 to your computer and use it in GitHub Desktop.

Select an option

Save lamp/3e6f1b5171d6358b66c7 to your computer and use it in GitHub Desktop.
# spec/helpers/config.rb
module Config
def root
"http://...."
end
end
#spec_helper.rb
require 'spec/helpers/config'
# *_spec.rb
describe "logging in or whatever" do
include Config
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment