frameworks-capybara 0.2.21 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +3 -0
- data/Gemfile.lock +1 -1
- data/lib/frameworks/cucumber.rb +5 -5
- data/lib/version.rb +1 -1
- data/spec/frameworks_cucumber_spec.rb +5 -5
- metadata +3 -3
data/CHANGES
CHANGED
data/Gemfile.lock
CHANGED
data/lib/frameworks/cucumber.rb
CHANGED
|
@@ -34,8 +34,8 @@ module Frameworks
|
|
|
34
34
|
@pal_base_url = @sandbox6 + @bbc_domain
|
|
35
35
|
@ssl_base_url = @sslsandbox6 + @bbc_domain
|
|
36
36
|
@static_base_url = @static_sandbox6 + @bbc_domain
|
|
37
|
-
@mobile_base_url = @mobiledot_prefix + "sandbox.
|
|
38
|
-
@m_base_url = @mdot_prefix + "sandbox.
|
|
37
|
+
@mobile_base_url = @mobiledot_prefix + "sandbox.bbc.co.uk"
|
|
38
|
+
@m_base_url = @mdot_prefix + "sandbox.bbc.co.uk"
|
|
39
39
|
elsif (environment =='live' && ENV['WWW_LIVE']=='false')
|
|
40
40
|
@base_url = @www_prefix.chop + @bbc_domain
|
|
41
41
|
@pal_base_url = @pal_prefix + environment + @bbc_domain
|
|
@@ -102,13 +102,13 @@ module Frameworks
|
|
|
102
102
|
@bbc_domain = '.bbc.co.uk'
|
|
103
103
|
@bbci_domain = '.bbci.co.uk'
|
|
104
104
|
@sandbox = "#{scheme}://pal.sandbox.dev"
|
|
105
|
-
@sandbox6 = "#{scheme}://sandbox
|
|
105
|
+
@sandbox6 = "#{scheme}://sandbox"
|
|
106
106
|
@mobiledot_prefix = "#{scheme}://mobile."
|
|
107
107
|
@mdot_prefix = "#{scheme}://m."
|
|
108
108
|
@sslsandbox = "https://ssl.sandbox.dev"
|
|
109
|
-
@sslsandbox6 = "https://ssl.sandbox
|
|
109
|
+
@sslsandbox6 = "https://ssl.sandbox"
|
|
110
110
|
@static_sandbox = "#{scheme}://static.sandbox.dev"
|
|
111
|
-
@static_sandbox6 = "#{scheme}://static.sandbox
|
|
111
|
+
@static_sandbox6 = "#{scheme}://static.sandbox"
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
def setup_mechanize(agent, http_proxy=nil)
|
data/lib/version.rb
CHANGED
|
@@ -23,11 +23,11 @@ describe Frameworks::EnvHelper do
|
|
|
23
23
|
it "should be able to set a local system6 url" do
|
|
24
24
|
ENV['ENVIRONMENT'] = 'sandbox6'
|
|
25
25
|
generate_base_urls
|
|
26
|
-
@base_url.should == 'http://sandbox.
|
|
27
|
-
@ssl_base_url.should == 'https://ssl.sandbox.
|
|
28
|
-
@static_base_url.should == 'http://static.sandbox.
|
|
29
|
-
@m_base_url.should == 'http://m.sandbox.
|
|
30
|
-
@mobile_base_url.should == 'http://mobile.sandbox.
|
|
26
|
+
@base_url.should == 'http://sandbox.bbc.co.uk'
|
|
27
|
+
@ssl_base_url.should == 'https://ssl.sandbox.bbc.co.uk'
|
|
28
|
+
@static_base_url.should == 'http://static.sandbox.bbc.co.uk'
|
|
29
|
+
@m_base_url.should == 'http://m.sandbox.bbc.co.uk'
|
|
30
|
+
@mobile_base_url.should == 'http://mobile.sandbox.bbc.co.uk'
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
it "should be able to set a base url" do
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 22
|
|
9
|
+
version: 0.2.22
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- matt robbins
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2013-
|
|
17
|
+
date: 2013-03-04 00:00:00 +00:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|