Skip to content

Commit 4c82283

Browse files
committed
generated spec/fabricators for existing files
1 parent 3866a79 commit 4c82283

5 files changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require 'spec_helper'
2+
3+
describe Api::RelsController do
4+
5+
end

spec/fabricators/rel_fabricator.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fabricator(:rel) do
2+
end
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
require 'spec_helper'
2+
3+
# Specs in this file have access to a helper object that includes
4+
# the Api::RelHelper. For example:
5+
#
6+
# describe Api::RelHelper do
7+
# describe "string concat" do
8+
# it "concats two strings with spaces" do
9+
# helper.concat_strings("this","that").should == "this that"
10+
# end
11+
# end
12+
# end
13+
describe Api::RelHelper do
14+
pending "add some examples to (or delete) #{__FILE__}"
15+
end
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
require 'spec_helper'
2+
3+
# Specs in this file have access to a helper object that includes
4+
# the Api::RelsHelper. For example:
5+
#
6+
# describe Api::RelsHelper do
7+
# describe "string concat" do
8+
# it "concats two strings with spaces" do
9+
# helper.concat_strings("this","that").should == "this that"
10+
# end
11+
# end
12+
# end
13+
describe Api::RelsHelper do
14+
pending "add some examples to (or delete) #{__FILE__}"
15+
end

spec/models/rel_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require 'spec_helper'
2+
3+
describe Rel do
4+
pending "add some examples to (or delete) #{__FILE__}"
5+
end

0 commit comments

Comments
 (0)