Add new post form

This commit is contained in:
riggraz
2019-09-02 14:32:57 +02:00
parent 4cb60cf2ed
commit edacfb1a4f
16 changed files with 397 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe PostsController, 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 PostsHelper. For example:
#
# describe PostsHelper 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 PostsHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end