wally 0.0.41 → 0.0.42
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/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/README.md +6 -6
- data/features/projects.feature +7 -0
- data/features/step_definitions/projects_steps.rb +16 -0
- data/features/step_definitions/welcome_page.rb +2 -3
- data/features/welcome_page.feature +1 -1
- data/lib/wally/public/skin.css +1 -1
- data/lib/wally/version.rb +1 -1
- data/lib/wally/views/layout.haml +1 -1
- metadata +5 -3
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.9.2-p320
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -20,14 +20,14 @@ Many of the ideas have been borrowed from Matt Wynne's Relish product, but we;
|
|
20
20
|
|
21
21
|
### Installation
|
22
22
|
* Install [mongodb](http://www.mongodb.org/display/DOCS/Quickstart "mongodb") and ensure it is running (e.g. '~ $ ./mongodb-xxxxx-xxxx-x.x.x/bin/mongod')
|
23
|
-
* gem install wally
|
24
|
-
* you might also want mongo_mapper (gem install mongo_mapper)
|
23
|
+
* `gem install wally`
|
24
|
+
* you might also want mongo_mapper (`gem install mongo_mapper`)
|
25
25
|
|
26
26
|
### Usage
|
27
|
-
* create a '.wally' file and enter any authentication text you like (echo myPassword > .wally)
|
28
|
-
* run wally server
|
29
|
-
* check http://localhost:4567/
|
30
|
-
* import your features (from local dir) wally push http://localhost:4567/projects
|
27
|
+
* create a '.wally' file and enter any authentication text you like (`echo myPassword > .wally`)
|
28
|
+
* run wally server, in the same dir that you put the .wally file (`wally server`)
|
29
|
+
* check [http://localhost:4567/](http://localhost:4567/)
|
30
|
+
* import your features (from local dir) `wally push http://localhost:4567/projects/<project-name> <feature-dir>`
|
31
31
|
|
32
32
|
|
33
33
|
## Wally?
|
data/features/projects.feature
CHANGED
@@ -10,3 +10,10 @@ Feature: Projects
|
|
10
10
|
"""
|
11
11
|
And I visit the project page for "project_name"
|
12
12
|
Then I see a link to the feature "Projects"
|
13
|
+
|
14
|
+
@javascript
|
15
|
+
Scenario: Switch between projects
|
16
|
+
Given 2 projects exist
|
17
|
+
When I view the welcome page
|
18
|
+
Then I can switch to the 2nd project
|
19
|
+
And I can switch to the 1st project
|
@@ -6,6 +6,22 @@ Given /^I visit the project page for "([^"]*)"$/ do |project|
|
|
6
6
|
visit "/projects/#{project}"
|
7
7
|
end
|
8
8
|
|
9
|
+
Given /^(\d+) projects exist$/ do |number_of_projects|
|
10
|
+
number_of_projects.to_i.times do |project_number|
|
11
|
+
project(project_number + 1)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
9
15
|
Then /^I see a link to the feature "([^"]*)"$/ do |feature|
|
10
16
|
page.should have_link feature
|
11
17
|
end
|
18
|
+
|
19
|
+
Then /^I can switch to the (\d).+ project$/ do |project_number|
|
20
|
+
select project_number, :from => 'projects'
|
21
|
+
|
22
|
+
#This is needed because there seems to be a bug in the chrome driver.
|
23
|
+
#The first time this is called, we get the old url, and the second time we get the new url.
|
24
|
+
page.current_url
|
25
|
+
|
26
|
+
page.current_url.end_with?(project_number).should be_true
|
27
|
+
end
|
@@ -14,7 +14,6 @@ When /^I select the project "([^"]*)"$/ do |project|
|
|
14
14
|
select(project, :from => "projects")
|
15
15
|
end
|
16
16
|
|
17
|
-
Then /^
|
18
|
-
page.should have_content
|
17
|
+
Then /^I see the wally README$/ do
|
18
|
+
page.should have_content "Wally is a web-based Cucumber viewer and navigator"
|
19
19
|
end
|
20
|
-
|
@@ -5,7 +5,7 @@ Feature: Welcome Page
|
|
5
5
|
Scenario: No projects
|
6
6
|
Given there aren't any projects
|
7
7
|
When I view the welcome page
|
8
|
-
Then
|
8
|
+
Then I see the wally README
|
9
9
|
|
10
10
|
@javascript
|
11
11
|
Scenario: Project links on home page
|
data/lib/wally/public/skin.css
CHANGED
data/lib/wally/version.rb
CHANGED
data/lib/wally/views/layout.haml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wally
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.42
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -244,7 +244,9 @@ extensions: []
|
|
244
244
|
extra_rdoc_files: []
|
245
245
|
files:
|
246
246
|
- .gitignore
|
247
|
+
- .ruby-version
|
247
248
|
- .rvmrc
|
249
|
+
- .travis.yml
|
248
250
|
- Gemfile
|
249
251
|
- LICENSE
|
250
252
|
- README.md
|
@@ -327,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
327
329
|
version: '0'
|
328
330
|
requirements: []
|
329
331
|
rubyforge_project: wally
|
330
|
-
rubygems_version: 1.8.
|
332
|
+
rubygems_version: 1.8.23
|
331
333
|
signing_key:
|
332
334
|
specification_version: 3
|
333
335
|
summary: ''
|