update authroize

This commit is contained in:
Aung Myo
2017-06-26 22:45:34 +06:30
parent 0726af072e
commit 4c13be257b
34 changed files with 52 additions and 976 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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