Skip to content

Commit

Permalink
passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklynhma committed Mar 16, 2019
1 parent f2d8a0b commit 8c95880
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/public/assets
/tags
/tmp/*
.nyc_output/
1 change: 0 additions & 1 deletion app/helpers/events_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def next_event
end

def next_event_venue

next_event.venue
end

Expand Down
4 changes: 1 addition & 3 deletions spec/features/hide_registration_spec.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
require "rails_helper"

feature "Hiding registration" do
context "when registration is not hidden" do
scenario "live events show up" do
# ClimateControl.modify VENUE_MAP_URL: "example.com", NEXT_EVENT_ID: "supersecret" do
ClimateControl.modify VENUE_MAP_URL: "example.com" do
ClimateControl.modify VENUE_MAP_URL: "example.com", NEXT_EVENT_ID: "supersecret" do

stub_upcoming_event("Cool Venue")

Expand Down
1 change: 1 addition & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ENV["RAILS_ENV"] = "test"
ENV["VENUE_NAME"] = "Cool Venue"

require File.expand_path("../../config/environment", __FILE__)
require "spec_helper"
Expand Down

0 comments on commit 8c95880

Please sign in to comment.