tddium-preview 0.6.15 → 0.6.16
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/Gemfile.lock +1 -1
- data/lib/tddium.rb +1 -1
- data/lib/tddium/version.rb +1 -1
- data/spec/tddium_spec.rb +6 -6
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/tddium.rb
CHANGED
data/lib/tddium/version.rb
CHANGED
data/spec/tddium_spec.rb
CHANGED
@@ -14,7 +14,7 @@ describe Tddium do
|
|
14
14
|
SAMPLE_API_KEY = "afb12412bdafe124124asfasfabebafeabwbawf1312342erbfasbb"
|
15
15
|
SAMPLE_APP_NAME = "tddelicious"
|
16
16
|
SAMPLE_BRANCH_NAME = "test"
|
17
|
-
SAMPLE_BUNDLER_VERSION = "
|
17
|
+
SAMPLE_BUNDLER_VERSION = "1.10.10"
|
18
18
|
SAMPLE_DATE_TIME = "2011-03-11T08:43:02Z"
|
19
19
|
SAMPLE_EMAIL = "someone@example.com"
|
20
20
|
SAMPLE_FILE_PATH = "./my_user_file.png"
|
@@ -27,7 +27,7 @@ describe Tddium do
|
|
27
27
|
SAMPLE_NEW_PASSWORD = "foobar2"
|
28
28
|
SAMPLE_REPORT_URL = "http://api.tddium.com/1/sessions/1/test_executions/report"
|
29
29
|
SAMPLE_RUBYGEMS_VERSION = "1.3.7"
|
30
|
-
SAMPLE_RUBY_VERSION = "
|
30
|
+
SAMPLE_RUBY_VERSION = "1.8.7"
|
31
31
|
SAMPLE_RECURLY_URL = "https://tddium.recurly.com/account/1"
|
32
32
|
SAMPLE_SESSION_ID = 1
|
33
33
|
SAMPLE_SUITE_ID = 1
|
@@ -117,8 +117,8 @@ describe Tddium do
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
-
def stub_bundler_version(tddium)
|
121
|
-
tddium.stub(:`).with("bundle -v").and_return(
|
120
|
+
def stub_bundler_version(tddium, version = SAMPLE_BUNDLER_VERSION)
|
121
|
+
tddium.stub(:`).with("bundle -v").and_return("Bundler version #{version}")
|
122
122
|
end
|
123
123
|
|
124
124
|
def stub_call_api_response(method, path, *response)
|
@@ -203,8 +203,8 @@ describe Tddium do
|
|
203
203
|
tddium.stub(:`).with(/^git remote #{action}/).and_return(git_response)
|
204
204
|
end
|
205
205
|
|
206
|
-
def stub_ruby_version(tddium)
|
207
|
-
tddium.stub(:`).with("ruby -v").and_return(
|
206
|
+
def stub_ruby_version(tddium, version = SAMPLE_RUBY_VERSION)
|
207
|
+
tddium.stub(:`).with("ruby -v").and_return("ruby #{version} (2010-08-16 patchlevel 302) [i686-darwin10.5.0]")
|
208
208
|
end
|
209
209
|
|
210
210
|
def stub_rubygems_version(tddium, version = SAMPLE_RUBYGEMS_VERSION)
|