add survey

This commit is contained in:
Yan
2017-11-06 18:23:38 +06:30
parent 7e19dbc1b6
commit d5efe1402f
10 changed files with 57 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe Origami::SurveysController, type: :controller do
end

View File

@@ -0,0 +1,15 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the Origami::SurveysHelper. For example:
#
# describe Origami::SurveysHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
RSpec.describe Origami::SurveysHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe Survey, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end