Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

email validation is broken by _, which breaks the tests #35

Merged
merged 1 commit into from
Jul 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"

puts "Entity suffix is #{ENV["TRAVIS_JOB_ID"] || "_local"}"
begin
require 'rspec/core/rake_task'

Expand Down
4 changes: 3 additions & 1 deletion spec/spec_helper_full.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
Dir[("./spec/support/**/*.rb")].each { |f| require f }

def entity_suffix
ENV["TRAVIS_JOB_ID"] || "_local"
(ENV["TRAVIS_JOB_ID"] || "local").gsub('_', '')
end

puts "Entity suffix is #{entity_suffix}"

RSpec.configure do |config|
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
Expand Down