Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rescue invalid byte sequence exception
- Loading branch information
Showing
5 changed files
with
29 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require File.dirname(__FILE__) + '/../../../spec_helper' | ||
|
||
describe Notification do | ||
|
||
it "should instantiate a notification for a given transaction ����" do | ||
notification = BankStatement::Notification.for(:transaction => @transaction) | ||
notification.is_a?(BankStatement::Notification).should be_true | ||
notification.transaction.should == @transaction | ||
end | ||
end | ||
|
||
hפ���g�<� ��x?name(__FILE__) + '/../../../spec_helper' |
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