Skip to content

Commit 93b43be

Browse files
committed
rb - add expectation to firefox profile spec
1 parent 4ce42f7 commit 93b43be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Selenium
2323
module WebDriver
2424
module Firefox
2525

26-
compliant_on :driver => :firefox do
26+
compliant_on :browser => :firefox do
2727
describe Driver do
2828
describe ".new" do
2929

@@ -51,6 +51,8 @@ module Firefox
5151
begin
5252
profile = Selenium::WebDriver::Firefox::Profile.new
5353
driver = Selenium::WebDriver.for :firefox, :profile => profile
54+
stored_profile = driver.instance_variable_get('@bridge').instance_variable_get('@launcher').instance_variable_get('@profile')
55+
expect(stored_profile).to be == profile
5456
ensure
5557
driver.quit if driver
5658
end

0 commit comments

Comments
 (0)