Code, gemspec, and Gemfile cleanup
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe Spree::DigitalLink do
|
||||
|
||||
context 'validation' do
|
||||
it { should belong_to(:digital) }
|
||||
it { should belong_to(:line_item) }
|
||||
it { should have_valid_factory(:digital_link) }
|
||||
end
|
||||
|
||||
context "#create" do
|
||||
|
||||
@@ -4,7 +4,6 @@ describe Spree::Digital do
|
||||
|
||||
context 'validation' do
|
||||
it { should belong_to(:variant) }
|
||||
it { should have_valid_factory(:digital) }
|
||||
end
|
||||
|
||||
context "#create" do
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe Spree::LineItem do
|
||||
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe Spree::Order do
|
||||
|
||||
context 'validation' do
|
||||
it { should have_valid_factory(:order) }
|
||||
end
|
||||
|
||||
context "#add_variant" do
|
||||
it "should add digital Variants of quantity 1 to an order" do
|
||||
order = FactoryGirl.create(:order)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../spec_helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe Spree::Variant do
|
||||
context "#destroy" do
|
||||
|
||||
Reference in New Issue
Block a user