dbd_data_engine 0.0.1 → 0.0.2
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/.gitignore +3 -0
- data/Guardfile +11 -2
- data/HISTORY.txt +5 -0
- data/README.md +6 -0
- data/app/controllers/dbd_data_engine/data_controller.rb +0 -9
- data/app/controllers/dbd_data_engine/resources_controller.rb +34 -0
- data/app/views/dbd_data_engine/resources/_fact.html.haml +3 -0
- data/app/views/dbd_data_engine/resources/create.html.haml +9 -0
- data/app/views/dbd_data_engine/resources/index.html.haml +2 -0
- data/app/views/dbd_data_engine/resources/new.html.haml +15 -0
- data/config/routes.rb +4 -3
- data/data/.gitkeep +0 -0
- data/dbd_data_engine.gemspec +1 -0
- data/lib/dbd_data_engine/engine.rb +4 -0
- data/lib/dbd_data_engine/version.rb +1 -1
- data/lib/dbd_data_engine.rb +1 -0
- data/spec/controllers/dbd_data_engine/data_controller_spec.rb +1 -0
- data/spec/dummy/data/.gitkeep +0 -0
- data/spec/features/data_spec.rb +8 -8
- data/spec/features/resources_spec.rb +51 -0
- data/spec/requests/resources_spec.rb +130 -0
- data/spec/views/dbd_data_engine/resources/create.html.haml_spec.rb +10 -0
- data/spec/views/dbd_data_engine/{data/new.html.haml_spec.rb → resources/index.html.haml_spec.rb} +1 -1
- data/spec/views/dbd_data_engine/resources/new.html.haml_spec.rb +39 -0
- metadata +35 -11
- data/app/views/dbd_data_engine/data/create.html.haml +0 -2
- data/app/views/dbd_data_engine/data/new.html.haml +0 -2
- data/app/views/dbd_data_engine/data/show.html.haml +0 -2
- data/spec/views/dbd_data_engine/data/create.html.haml_spec.rb +0 -7
- data/spec/views/dbd_data_engine/data/show.html.haml_spec.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b85dd2704a4f68d94228e1e3f0f26c4056b884f7
|
4
|
+
data.tar.gz: 705971c483babbbe48bd2a6a6f45b567f239c6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dd1042543ffdd33cb52a81a82e28b7e125a6c5faa2a9fd18c4d308ce074ef3f76bcfe9c0901d49ea9eec84e90ed9dde3e54e5066d9322442e03cf4bd152bbc4
|
7
|
+
data.tar.gz: 34cdd6ebc692befb6ad4b7278b86ab412d6c4ae7f58380026e5658a2362637370cae05ddf7d53c4700fab42e89a2491152d50d22aacccf664d4fd7c8605b2369
|
data/.gitignore
CHANGED
data/Guardfile
CHANGED
@@ -6,10 +6,19 @@ guard 'rspec', :all_on_start => true, :all_after_pass => true do
|
|
6
6
|
# Rails example
|
7
7
|
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
8
8
|
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
9
|
-
watch(%r{^app/controllers/(.+)_(controller)\.rb$})
|
9
|
+
watch(%r{^app/controllers/dbd_data_engine/(.+)_(controller)\.rb$}) do |m|
|
10
|
+
["spec/routing/#{m[1]}_routing_spec.rb",
|
11
|
+
"spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb",
|
12
|
+
"spec/features/#{m[1]}_spec.rb",
|
13
|
+
"spec/requests/#{m[1]}_spec.rb"]
|
14
|
+
end
|
10
15
|
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
11
16
|
watch('config/routes.rb') { "spec/routing" }
|
12
|
-
watch('app/controllers/application_controller.rb')
|
17
|
+
watch('app/controllers/dbd_data_engine/application_controller.rb') do
|
18
|
+
["spec/controllers",
|
19
|
+
"spec/features",
|
20
|
+
"spec/requests"]
|
21
|
+
end
|
13
22
|
|
14
23
|
# Capybara features specs
|
15
24
|
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
data/HISTORY.txt
ADDED
data/README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
1
|
This is a Rails Engine that will allow entering and viewing data for [Dbd].
|
2
2
|
|
3
|
+
It used in the [DbdDemo] app.
|
4
|
+
|
5
|
+
[](http://badge.fury.io/rb/dbd_data_engine)
|
6
|
+
[](http://travis-ci.org/petervandenabeele/dbd_data_engine)
|
7
|
+
|
3
8
|
[Dbd]: https://github.com/petervandenabeele/dbd#readme
|
9
|
+
[DbdDemo]: https://github.com/petervandenabeele/dbd_demo#readme
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require_dependency "dbd_data_engine/application_controller"
|
2
|
+
|
3
|
+
module DbdDataEngine
|
4
|
+
class ResourcesController < ApplicationController
|
5
|
+
def index
|
6
|
+
end
|
7
|
+
|
8
|
+
def new
|
9
|
+
@predicates = ['schema:givenName','schema:familyName']
|
10
|
+
end
|
11
|
+
|
12
|
+
def create
|
13
|
+
graph = Dbd::Graph.new
|
14
|
+
@resource = Dbd::Resource.new(context_subject: Dbd::Context.new_subject)
|
15
|
+
[params[:predicate], params[:object]].transpose.each do |predicate, object|
|
16
|
+
fact = Dbd::Fact.new({predicate: predicate,
|
17
|
+
object: object})
|
18
|
+
@resource << fact
|
19
|
+
end
|
20
|
+
graph << @resource
|
21
|
+
new_data = graph.to_CSV
|
22
|
+
File.open(filename, 'a') do |f|
|
23
|
+
f.syswrite new_data
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def filename
|
30
|
+
DbdDataEngine.default_CSV_location
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
%h1 Create a new resource
|
2
|
+
|
3
|
+
= form_tag('/data/resources', method: :post) do # engine controller route not loaded in view tests
|
4
|
+
%table
|
5
|
+
%tr
|
6
|
+
%th predicate
|
7
|
+
%th object
|
8
|
+
%tr
|
9
|
+
%td= select_tag('predicate[]', options_for_select(@predicates))
|
10
|
+
%td= text_field_tag('object[]')
|
11
|
+
%tr
|
12
|
+
%td= select_tag('predicate[]', options_for_select(@predicates))
|
13
|
+
%td= text_field_tag('object[]')
|
14
|
+
|
15
|
+
%p= submit_tag('Submit')
|
data/config/routes.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
DbdDataEngine::Engine.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
resources 'data', only: [:index]
|
3
|
+
scope 'data' do
|
4
|
+
resources 'resources', only: [:index, :new, :create]
|
5
|
+
end
|
5
6
|
end
|
data/data/.gitkeep
ADDED
File without changes
|
data/dbd_data_engine.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_development_dependency 'rake'
|
24
24
|
s.add_dependency 'rails', '>= 4.0.0'
|
25
25
|
s.add_dependency 'haml'
|
26
|
+
s.add_dependency 'dbd', '>= 0.0.16'
|
26
27
|
|
27
28
|
s.add_development_dependency 'haml-rails'
|
28
29
|
s.add_development_dependency 'rspec-rails'
|
data/lib/dbd_data_engine.rb
CHANGED
File without changes
|
data/spec/features/data_spec.rb
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
module DbdDataEngine
|
4
|
-
describe
|
5
|
-
describe
|
6
|
-
context
|
7
|
-
it
|
8
|
-
dbd_data_engine.
|
4
|
+
describe 'Data' do
|
5
|
+
describe 'GET /data' do
|
6
|
+
context 'routing' do
|
7
|
+
it 'when the engine is mounted under /' do
|
8
|
+
dbd_data_engine.data_path.should == '/data'
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
context
|
12
|
+
context 'page content' do
|
13
13
|
|
14
14
|
before(:each) do
|
15
|
-
visit(dbd_data_engine.
|
15
|
+
visit(dbd_data_engine.data_path)
|
16
16
|
end
|
17
17
|
|
18
|
-
it
|
18
|
+
it 'talks about data' do
|
19
19
|
expect(page).to have_text('Data')
|
20
20
|
end
|
21
21
|
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module DbdDataEngine
|
4
|
+
describe ResourcesController do
|
5
|
+
describe 'GET /data/resources' do
|
6
|
+
context 'routing' do
|
7
|
+
it 'resources_path is correct' do
|
8
|
+
dbd_data_engine.resources_path.should == '/data/resources'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
context 'page content' do
|
13
|
+
|
14
|
+
before(:each) do
|
15
|
+
visit(dbd_data_engine.resources_path)
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'talks about resources' do
|
19
|
+
expect(page).to have_text('Resources')
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe 'GET /data/resources/new' do
|
25
|
+
context 'routing' do
|
26
|
+
it 'new_resources_path is correct' do
|
27
|
+
dbd_data_engine.new_resource_path.should == '/data/resources/new'
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
context 'page content' do
|
32
|
+
|
33
|
+
before(:each) do
|
34
|
+
visit(dbd_data_engine.new_resource_path)
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'talks about a new resource' do
|
38
|
+
expect(page.text).to match(/new resource/i)
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'has a select box array with schema:givenName as option' do
|
42
|
+
expect(page).to have_select('predicate[]', options: ['schema:givenName','schema:familyName'])
|
43
|
+
end
|
44
|
+
|
45
|
+
it 'has a field array' do
|
46
|
+
expect(page).to have_field('object[]')
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,130 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module DbdDataEngine
|
4
|
+
describe ResourcesController do
|
5
|
+
context 'POST /data/resources' do
|
6
|
+
context 'routing' do
|
7
|
+
it 'resources_path is correct' do
|
8
|
+
dbd_data_engine.resources_path.should == '/data/resources'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
context 'creating the resource from parameters' do
|
13
|
+
|
14
|
+
let(:test_filename) { 'data/test_graph.csv' }
|
15
|
+
|
16
|
+
let(:one_fact) do
|
17
|
+
{'predicate' => ['schema:givenName'],
|
18
|
+
'object' => ['Peter']}
|
19
|
+
end
|
20
|
+
|
21
|
+
let(:two_facts) do
|
22
|
+
{'predicate' => ['schema:givenName', 'schema:familyName'],
|
23
|
+
'object' => ['Peter', 'Vandenabeele']}
|
24
|
+
end
|
25
|
+
|
26
|
+
let(:two_other_facts) do
|
27
|
+
{'predicate' => ['schema:givenName', 'schema:familyName'],
|
28
|
+
'object' => ['Frans', 'VDA']}
|
29
|
+
end
|
30
|
+
|
31
|
+
before(:each) { DbdDataEngine.stub(:default_CSV_location).and_return(test_filename) }
|
32
|
+
|
33
|
+
describe 'with correct parameters' do
|
34
|
+
it 'with correct data does_not raise_error' do
|
35
|
+
post(dbd_data_engine.resources_path, one_fact)
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'calls Dbd::Resource.new' do
|
39
|
+
Dbd::Resource.should_receive(:new).and_call_original
|
40
|
+
post(dbd_data_engine.resources_path, one_fact)
|
41
|
+
end
|
42
|
+
|
43
|
+
before(:each) do
|
44
|
+
Dbd::Graph.new.to_CSV_file(test_filename) # empty the file
|
45
|
+
end
|
46
|
+
|
47
|
+
def read_back_graph
|
48
|
+
Dbd::Graph.new.from_unsorted_CSV_file(test_filename)
|
49
|
+
end
|
50
|
+
|
51
|
+
context 'with 1 line, creates 1 resource' do
|
52
|
+
|
53
|
+
before(:each) { post(dbd_data_engine.resources_path, one_fact) }
|
54
|
+
|
55
|
+
it 'adds 1 line to the graph' do
|
56
|
+
read_back_graph.size.should == 1
|
57
|
+
end
|
58
|
+
|
59
|
+
it 'shows the result' do
|
60
|
+
expect(response.body).to include('schema:givenName')
|
61
|
+
expect(response.body).to include('Peter')
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
context 'with 2 lines, creates resource with 2 facts' do
|
66
|
+
|
67
|
+
before(:each) { post(dbd_data_engine.resources_path, two_facts) }
|
68
|
+
|
69
|
+
it 'adds 2 lines to the graph' do
|
70
|
+
read_back_graph.size.should == 2
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'the 2 facts have the same subject (1 resource)' do
|
74
|
+
read_back_graph.map(&:subject).uniq.size.should == 1
|
75
|
+
end
|
76
|
+
|
77
|
+
it 'shows the result' do
|
78
|
+
expect(response.body).to include('schema:givenName')
|
79
|
+
expect(response.body).to include('Peter')
|
80
|
+
expect(response.body).to include('schema:familyName')
|
81
|
+
expect(response.body).to include('Vandenabeele')
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
context 'with 2 submits of 2 lines, creates 2 resources' do
|
86
|
+
context 'submits directly after each other' do
|
87
|
+
|
88
|
+
before(:each) do
|
89
|
+
post(dbd_data_engine.resources_path, two_facts)
|
90
|
+
post(dbd_data_engine.resources_path, two_other_facts)
|
91
|
+
end
|
92
|
+
|
93
|
+
it 'adds 4 lines to the graph in the file' do
|
94
|
+
read_back_graph.size.should == 4
|
95
|
+
end
|
96
|
+
|
97
|
+
it 'the 4 facts are of 2 resources' do
|
98
|
+
read_back_graph.map(&:subject).uniq.size.should == 2
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
it 'shows the results for each submit' do
|
103
|
+
post(dbd_data_engine.resources_path, two_facts)
|
104
|
+
expect(response.body).to include('schema:givenName')
|
105
|
+
expect(response.body).to include('Peter')
|
106
|
+
expect(response.body).to include('schema:familyName')
|
107
|
+
expect(response.body).to include('Vandenabeele')
|
108
|
+
post(dbd_data_engine.resources_path, two_other_facts)
|
109
|
+
expect(response.body).to include('Frans')
|
110
|
+
expect(response.body).to include('VDA')
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
context 'with multi-threaded requests does a clean write' do
|
115
|
+
it 'does not fail on parallel access (also tested on 1000.times)' do
|
116
|
+
threads = []
|
117
|
+
[two_facts, two_other_facts].each do |resource|
|
118
|
+
threads << Thread.new(resource) do |_resource|
|
119
|
+
10.times { post(dbd_data_engine.resources_path, _resource) }
|
120
|
+
end
|
121
|
+
end
|
122
|
+
threads.each { |thread| thread.join }
|
123
|
+
read_back_graph
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'dbd_data_engine/resources/new.html.haml' do
|
4
|
+
context 'renders' do
|
5
|
+
|
6
|
+
before(:each) do
|
7
|
+
@predicates = ['schema:givenName', 'schema:familyName']
|
8
|
+
render
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'without exceptions' do
|
12
|
+
#should_not raise_error
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'has table header "predicate"' do
|
16
|
+
rendered.should have_xpath('.//table/tr/th', :text => 'predicate')
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'has table header "object"' do
|
20
|
+
rendered.should have_xpath('.//table/tr/th', :text => 'object')
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'has an array of drop down select boxes with predicates' do
|
24
|
+
rendered.should have_select('predicate[]', options: ['schema:givenName', 'schema:familyName'])
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'has an array of fields with objects' do
|
28
|
+
rendered.should have_field('object[]')
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'has a submit button' do
|
32
|
+
rendered.should have_button('Submit')
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'has a form that posts to /data/resources' do
|
36
|
+
rendered.should have_xpath('.//form[@action="/data/resources"][@method="post"]', :text => 'predicate')
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbd_data_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Vandenabeele
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dbd
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.0.16
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.0.16
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: haml-rails
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +150,7 @@ files:
|
|
136
150
|
- .travis.yml
|
137
151
|
- Gemfile
|
138
152
|
- Guardfile
|
153
|
+
- HISTORY.txt
|
139
154
|
- MIT-LICENSE
|
140
155
|
- README.md
|
141
156
|
- Rakefile
|
@@ -143,14 +158,17 @@ files:
|
|
143
158
|
- app/assets/stylesheets/dbd_data_engine/application.css
|
144
159
|
- app/controllers/dbd_data_engine/application_controller.rb
|
145
160
|
- app/controllers/dbd_data_engine/data_controller.rb
|
161
|
+
- app/controllers/dbd_data_engine/resources_controller.rb
|
146
162
|
- app/helpers/dbd_data_engine/application_helper.rb
|
147
|
-
- app/views/dbd_data_engine/data/create.html.haml
|
148
163
|
- app/views/dbd_data_engine/data/index.html.haml
|
149
|
-
- app/views/dbd_data_engine/
|
150
|
-
- app/views/dbd_data_engine/
|
164
|
+
- app/views/dbd_data_engine/resources/_fact.html.haml
|
165
|
+
- app/views/dbd_data_engine/resources/create.html.haml
|
166
|
+
- app/views/dbd_data_engine/resources/index.html.haml
|
167
|
+
- app/views/dbd_data_engine/resources/new.html.haml
|
151
168
|
- app/views/layouts/dbd_data_engine/application.html.erb
|
152
169
|
- bin/rails
|
153
170
|
- config/routes.rb
|
171
|
+
- data/.gitkeep
|
154
172
|
- dbd_data_engine.gemspec
|
155
173
|
- lib/dbd_data_engine.rb
|
156
174
|
- lib/dbd_data_engine/engine.rb
|
@@ -188,6 +206,7 @@ files:
|
|
188
206
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
189
207
|
- spec/dummy/config/locales/en.yml
|
190
208
|
- spec/dummy/config/routes.rb
|
209
|
+
- spec/dummy/data/.gitkeep
|
191
210
|
- spec/dummy/lib/assets/.keep
|
192
211
|
- spec/dummy/log/.keep
|
193
212
|
- spec/dummy/public/404.html
|
@@ -195,11 +214,13 @@ files:
|
|
195
214
|
- spec/dummy/public/500.html
|
196
215
|
- spec/dummy/public/favicon.ico
|
197
216
|
- spec/features/data_spec.rb
|
217
|
+
- spec/features/resources_spec.rb
|
218
|
+
- spec/requests/resources_spec.rb
|
198
219
|
- spec/spec_helper.rb
|
199
|
-
- spec/views/dbd_data_engine/data/create.html.haml_spec.rb
|
200
220
|
- spec/views/dbd_data_engine/data/index.html.haml_spec.rb
|
201
|
-
- spec/views/dbd_data_engine/
|
202
|
-
- spec/views/dbd_data_engine/
|
221
|
+
- spec/views/dbd_data_engine/resources/create.html.haml_spec.rb
|
222
|
+
- spec/views/dbd_data_engine/resources/index.html.haml_spec.rb
|
223
|
+
- spec/views/dbd_data_engine/resources/new.html.haml_spec.rb
|
203
224
|
homepage: https://github.com/petervandenabeele/dbd_data_engine
|
204
225
|
licenses:
|
205
226
|
- MIT
|
@@ -257,6 +278,7 @@ test_files:
|
|
257
278
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
258
279
|
- spec/dummy/config/locales/en.yml
|
259
280
|
- spec/dummy/config/routes.rb
|
281
|
+
- spec/dummy/data/.gitkeep
|
260
282
|
- spec/dummy/lib/assets/.keep
|
261
283
|
- spec/dummy/log/.keep
|
262
284
|
- spec/dummy/public/404.html
|
@@ -264,8 +286,10 @@ test_files:
|
|
264
286
|
- spec/dummy/public/500.html
|
265
287
|
- spec/dummy/public/favicon.ico
|
266
288
|
- spec/features/data_spec.rb
|
289
|
+
- spec/features/resources_spec.rb
|
290
|
+
- spec/requests/resources_spec.rb
|
267
291
|
- spec/spec_helper.rb
|
268
|
-
- spec/views/dbd_data_engine/data/create.html.haml_spec.rb
|
269
292
|
- spec/views/dbd_data_engine/data/index.html.haml_spec.rb
|
270
|
-
- spec/views/dbd_data_engine/
|
271
|
-
- spec/views/dbd_data_engine/
|
293
|
+
- spec/views/dbd_data_engine/resources/create.html.haml_spec.rb
|
294
|
+
- spec/views/dbd_data_engine/resources/index.html.haml_spec.rb
|
295
|
+
- spec/views/dbd_data_engine/resources/new.html.haml_spec.rb
|