volt 0.7.21 → 0.7.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +20 -0
- data/VERSION +1 -1
- data/templates/project/spec/sample_spec.rb +11 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b730e5f16273424161f8379476984c2689b753d
|
4
|
+
data.tar.gz: e362306558f379cccc2aab0a5fe15da4250a5627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 921b6d8e8fe5de195fe402b32a7f040087881bfb896c55ea60a0d577b0c1ae6406b2b490ff33aba3818eb3aaa6c7099d5e5a10c8573dc025bda4057342b34b9f
|
7
|
+
data.tar.gz: 3c7bb6ceb7c150f898584ba3c4ae144e4a66be7f31d58537f9f4a54198795e6a1bf7c7b486b6223fe58d31d4b550be1024003f8bf2435fc4466b1764f11f78e8
|
data/Readme.md
CHANGED
@@ -98,6 +98,7 @@ You can access the Volt console with:
|
|
98
98
|
8. [Controls](#controls)
|
99
99
|
9. [Routes](#routes)
|
100
100
|
1. [Routes file](#routes-file)
|
101
|
+
10. [Testing](#testing)
|
101
102
|
|
102
103
|
|
103
104
|
# Getting Help
|
@@ -811,6 +812,25 @@ Controllers provide a `#channel` method, that you can use to get the status of t
|
|
811
812
|
| reconnect_interval | the time until the next reconnection attempt (in seconds) |
|
812
813
|
|
813
814
|
|
815
|
+
# Testing
|
816
|
+
|
817
|
+
** Testing is being reworked at the moment.
|
818
|
+
Volt provides rspec and capybara out of the box. You can test directly against your models, controllers, etc... or you can do full integration tests via [Capybara](https://github.com/jnicklas/capybara).
|
819
|
+
|
820
|
+
To run Capybara tests, you need to specify a driver. The following drivers are currently supported:
|
821
|
+
|
822
|
+
1. Phantom (via poltergeist)
|
823
|
+
|
824
|
+
BROWSER=phantom bundle exec rspec
|
825
|
+
|
826
|
+
2. Firefox
|
827
|
+
|
828
|
+
BROWSER=firefox bundle exec rspec
|
829
|
+
|
830
|
+
3. IE - coming soon
|
831
|
+
|
832
|
+
Chrome is not supported due to [this issue](https://code.google.com/p/chromedriver/issues/detail?id=887#makechanges) with ChromeDriver. Feel free to go [here](https://code.google.com/p/chromedriver/issues/detail?id=887#makechanges) and pester the chromedriver team to fix it.
|
833
|
+
|
814
834
|
## Accessing DOM section in a controller
|
815
835
|
|
816
836
|
TODO
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.22
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: volt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Stout
|
@@ -579,6 +579,7 @@ files:
|
|
579
579
|
- templates/project/config.ru
|
580
580
|
- templates/project/lib/.empty_directory
|
581
581
|
- templates/project/public/index.html
|
582
|
+
- templates/project/spec/sample_spec.rb
|
582
583
|
- templates/project/spec/spec_helper.rb
|
583
584
|
- volt.gemspec
|
584
585
|
homepage: http://voltframework.com
|