# Gems needed for running tests
group :test do
gem "minitest", "~> 5.1", :platforms => [:ruby_19, :ruby_20]
- gem "minitest-rails-capybara"
gem "rails-controller-testing"
gem "rubocop"
gem "webmock"
mini_mime (0.1.4)
mini_portile2 (2.3.0)
minitest (5.10.3)
- minitest-capybara (0.8.2)
- capybara (~> 2.2)
- minitest (~> 5.0)
- rake
- minitest-metadata (0.6.0)
- minitest (>= 4.7, < 6.0)
- minitest-rails (3.0.0)
- minitest (~> 5.8)
- railties (~> 5.0)
- minitest-rails-capybara (3.0.1)
- capybara (~> 2.7)
- minitest-capybara (~> 0.8)
- minitest-metadata (~> 0.6)
- minitest-rails (~> 3.0)
multi_json (1.12.2)
multi_xml (0.6.0)
multipart-post (2.0.0)
listen
logstasher
minitest (~> 5.1)
- minitest-rails-capybara
oauth-plugin (>= 0.5.1)
omniauth
omniauth-facebook
+++ /dev/null
-require "test_helper"
-
-class CanAccessHomeTest < Capybara::Rails::TestCase
- def setup
- stub_hostip_requests
- end
-
- def test_it_works
- visit root_path
- assert page.has_content? "BOpenStreetMap"
- end
-end
-require "test_helper"
+require "application_system_test_case"
-class IssuesTest < Capybara::Rails::TestCase
+class IssuesTest < ApplicationSystemTestCase
def test_view_issues_normal_user
sign_in_as(create(:user))
-require "test_helper"
+require "application_system_test_case"
-class ReportDiaryEntryTest < Capybara::Rails::TestCase
+class ReportDiaryEntryTest < ApplicationSystemTestCase
def setup
create(:language, :code => "en")
@diary_entry = create(:diary_entry)
require File.expand_path("../../config/environment", __FILE__)
require "rails/test_help"
require "webmock/minitest"
-require "minitest/rails/capybara"
module ActiveSupport
class TestCase