Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Use rails_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Nov 21, 2017
1 parent a038075 commit 5d6141d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'
require 'spree/testing_support/factories/stock_transfer_factory'

RSpec.describe 'stock transfer factory' do
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'

RSpec.describe Spree::PermissionSets::RestrictedStockTransferDisplay do
let(:ability) { Spree::Ability.new(user) }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'

RSpec.describe Spree::PermissionSets::RestrictedStockTransferManagement do
let(:ability) { Spree::Ability.new(user) }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'

RSpec.describe Spree::PermissionSets::StockTransferDisplay do
let(:ability) { DummyAbility.new }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'

RSpec.describe Spree::PermissionSets::StockTransferManagement do
let(:ability) { DummyAbility.new }
Expand Down
2 changes: 1 addition & 1 deletion spec/models/spree/stock_transfer_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'

module Spree
RSpec.describe StockTransfer, type: :model do
Expand Down
2 changes: 1 addition & 1 deletion spec/models/spree/transfer_item_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'rails_helper'
require 'spec_helper'

RSpec.describe Spree::TransferItem do
let(:stock_location) { create(:stock_location, name: "Warehouse") }
Expand Down

0 comments on commit 5d6141d

Please sign in to comment.