scratchpad 0.0.2 → 0.0.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.
- checksums.yaml +4 -4
- data/app/views/scratchpad.html.erb +49 -0
- data/lib/scratchpad/middleware.rb +5 -1
- data/lib/scratchpad/page.rb +7 -6
- data/lib/scratchpad/version.rb +1 -1
- data/test/dummy/log/test.log +1583 -0
- data/test/integration/rendering_test.rb +11 -0
- metadata +3 -3
- data/README.rdoc +0 -3
@@ -39,4 +39,15 @@ class RenderingTest < ActionDispatch::IntegrationTest
|
|
39
39
|
assert_select ".scratch", { html: /baz/, count: 1 }
|
40
40
|
assert_select ".scratch", { html: /buzz/, count: 1 }
|
41
41
|
end
|
42
|
+
|
43
|
+
test "scratch should render calling file" do
|
44
|
+
get '/scratch'
|
45
|
+
assert_select ".scratch", { html: /scratch\.html\.erb/, count: 1 }
|
46
|
+
end
|
47
|
+
|
48
|
+
test "scratch should render calling line" do
|
49
|
+
get '/scratch'
|
50
|
+
assert_select ".scratch", { html: /3/, count: 1 }
|
51
|
+
end
|
52
|
+
|
42
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scratchpad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mcianni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -32,10 +32,10 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- MIT-LICENSE
|
35
|
-
- README.rdoc
|
36
35
|
- Rakefile
|
37
36
|
- app/assets/css/scratchpad.css
|
38
37
|
- app/helpers/scratchpad_helper.rb
|
38
|
+
- app/views/scratchpad.html.erb
|
39
39
|
- lib/scratchpad.rb
|
40
40
|
- lib/scratchpad/middleware.rb
|
41
41
|
- lib/scratchpad/page.rb
|
data/README.rdoc
DELETED