dcrec1-rspec-vraptor 0.9.6 → 0.9.6.3
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/README.textile +6 -1
- data/Rakefile +1 -1
- data/lib/spec/vraptor/mocked_filter_config.rb +16 -0
- metadata +2 -2
data/README.textile
CHANGED
@@ -22,6 +22,7 @@ describe UserController do
|
|
22
22
|
get "/user/xpto", :request => {'param1' => 'value1'},
|
23
23
|
:session => {'login' => 'dcrec1'},
|
24
24
|
:inject => {'user' => User.new("Bruce")},
|
25
|
+
:cookies => {'session_id' => '534gh34hg34g3'},
|
25
26
|
:headers => {'Host' => '20.85.17.10'}
|
26
27
|
end
|
27
28
|
|
@@ -36,7 +37,11 @@ describe UserController do
|
|
36
37
|
it "should save param1 in session" do
|
37
38
|
@session.attributes['param1'].should eql('value')
|
38
39
|
end
|
39
|
-
|
40
|
+
|
41
|
+
it do
|
42
|
+
@request.should be_viewless
|
43
|
+
end
|
44
|
+
|
40
45
|
end
|
41
46
|
|
42
47
|
end</code></pre>
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dcrec1-rspec-vraptor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.6
|
4
|
+
version: 0.9.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Carrion
|
@@ -29,7 +29,7 @@ files:
|
|
29
29
|
- lib/spec/vraptor/mocked_http_response.rb
|
30
30
|
- lib/spec/vraptor/mocked_request_dispatcher.rb
|
31
31
|
- lib/spec/vraptor/mocked_http_session.rb
|
32
|
-
- lib/spec/vraptor/
|
32
|
+
- lib/spec/vraptor/mocked_filter_config.rb
|
33
33
|
- lib/spec/vraptor/mocked_http_request.rb
|
34
34
|
- lib/environment.rb
|
35
35
|
- README.textile
|