Created
October 3, 2011 18:48
-
-
Save HeroicEric/1259895 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Failures: | |
1) VariantDatasheet Importing Data should parse file contents and return a result | |
Failure/Error: variant_datasheet.import_data(file_path).should eq(result) | |
expected [["TYPE", "FAMILY", "SKU", "DESCRIPTION", " SRP ", "STATUS", "CPU", "SCREEN", "RAM", "BASE SKU", "HDD", "WLAN/WWLAN", "DRIVE", "OS", "WIRELESS CARRIER", "OTHER", "LAST MODIFIED", "COMMENT", "Effective Date"], ["CPU", "CF-19", "CF-19BTUDX1M", "No Wireless, Win7, Intel Core i5-2520M 2.50GHz, No vPro, 10.1\" TF+XGA Touch, 320GB(7200rpm), 4GB, No WLAN, TPM, No Bluetooth, Dual Pass (Upper:WWAN/Lower:None), Smartcard, No Absolute BIOS, No Drive, Toughbook Preferred", "3859", "CURRENT", "Intel Core i5-2520M 2.50GHz", "10.1 TF+XGA Touch", "4GB", "F", "320GB(7200rpm)", "No WLAN", "No Drive", "Win7", "No WLAN", "No Bluetooth, Dual Pass (Upper:WWAN/Lower:None), Smartcard", "8/26/11 17:33", nil, nil]] | |
got [["TYPE", "FAMILY", "SKU", "DESCRIPTION", " SRP ", "STATUS", "CPU", "SCREEN", "RAM", "BASE SKU", "HDD", "WLAN/WWLAN", "DRIVE", "OS", "WIRELESS CARRIER", "OTHER", "LAST MODIFIED", "COMMENT", "Effective Date"], ["CPU", "CF-19", "CF-19BTUDX1M", "No Wireless, Win7, Intel Core i5-2520M 2.50GHz, No vPro, 10.1\" TF+XGA Touch, 320GB(7200rpm), 4GB, No WLAN, TPM, No Bluetooth, Dual Pass (Upper:WWAN/Lower:None), Smartcard, No Absolute BIOS, No Drive, Toughbook Preferred", "3859", "CURRENT", "Intel Core i5-2520M 2.50GHz", "10.1\" TF+XGA Touch", "4GB", "F", "320GB(7200rpm)", "No WLAN", "No Drive", "Win7", "No WLAN", "No Bluetooth, Dual Pass (Upper:WWAN/Lower:None), Smartcard", "8/26/11 17:33", nil, nil]] | |
(compared using ==) | |
Diff: | |
@@ -24,7 +24,7 @@ | |
"3859", | |
"CURRENT", | |
"Intel Core i5-2520M 2.50GHz", | |
- "10.1 TF+XGA Touch", | |
+ "10.1\" TF+XGA Touch", | |
"4GB", | |
"F", | |
"320GB(7200rpm)", | |
# ./spec/models/variant_datasheet_spec.rb:17:in `block (3 levels) in <top (required)>' | |
Finished in 0.02854 seconds | |
1 example, 1 failure | |
Failed examples: | |
rspec ./spec/models/variant_datasheet_spec.rb:7 # VariantDatasheet Importing Data should parse file contents and return a result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment