Skip to content

Commit be4675a

Browse files
authored
Merge pull request #64 from Mifrill/spec_helper
cleanup: require spec_helper by '.rspec' config file
2 parents 1658e00 + fd17425 commit be4675a

15 files changed

+1
-26
lines changed

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
--color
22
--fail-fast
33
--format=doc
4+
--require spec_helper

spec/browser_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Browser do
75
it "supports a custom path" do

spec/cookies_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Browser do
75
context "cookies support" do

spec/dialog_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Browser do
75
context "dialog support" do

spec/dragging_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Browser do
75
context "dragging support", skip: true do

spec/frame_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Browser do
75
context "frame support" do

spec/headers_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Browser do
75
context "headers support" do

spec/keyboard_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Keyboard do
75
context "has ability to send keys" do

spec/mouse_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Mouse do
75
context "mouse support", skip: true do

spec/network_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "spec_helper"
4-
53
module Ferrum
64
describe Network do
75
let(:traffic) { browser.network.traffic }

0 commit comments

Comments
 (0)