-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
36 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
spec/lib/axiomus_api/delivest_spec.rb → spec/lib/axiomus_api/delivset_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
require_relative '../../spec_helper' | ||
|
||
describe 'AxiomusApi::Label' do | ||
describe AxiomusApi::Label do | ||
it 'should generate barcode' do | ||
@label = build(:label) | ||
expect{barcode = @label_barcode64}.not_to raise_error | ||
end | ||
|
||
it 'should render single label' do | ||
@label = build(:label) | ||
expect{html = AxiomusApi::Label.render(@label)}.not_to raise_error | ||
expect{html = described_class.render(@label)}.not_to raise_error | ||
end | ||
|
||
it 'should render multiple labels' do | ||
@labels = (1..10).map{build(:label)} | ||
expect{html = AxiomusApi::Label.render(@labels)}.not_to raise_error | ||
expect{html = described_class.render(@labels)}.not_to raise_error | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require_relative '../spec_helper' | ||
|
||
describe 'AxiomusApi' do | ||
describe AxiomusApi do | ||
it 'should assign logger' do | ||
AxiomusApi.logger = Logger.new($stdout) | ||
described_class.logger = Logger.new($stdout) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.