update authorize

This commit is contained in:
Aung Myo
2017-06-23 09:41:48 +06:30
parent 5abda623ff
commit 01e5b7ba6c
60 changed files with 1141 additions and 34 deletions

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,15 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the Reports::DailysalesHelper. For example:
#
# describe Reports::DailysalesHelper 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 Reports::DailysalesHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -0,0 +1,15 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the Reports::SaleItemsHelper. For example:
#
# describe Reports::SaleItemsHelper 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 Reports::SaleItemsHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end