Browse files

work in progress 2:40:56

  • Loading branch information...
1 parent e48f7cc commit bc43f72fbd9e87c99c47738a30594ce3a42083f2 @mac-r mac-r committed Mar 19, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/ajaila/console_helper_spec.rb
View
8 spec/ajaila/console_helper_spec.rb
@@ -59,15 +59,15 @@
params = ["table:Foo","file:Nooo","table:Lol"]
Ajaila::ConsoleHelper.get_tables(params).should == ["Foo","Lol"]
Ajaila::ConsoleHelper.get_tables(params).include?("Nooo").should_not == true
- # params = []
- # Ajaila::ConsoleHelper.get_tables(params).should raise_error
+ params = []
+ lambda{Ajaila::ConsoleHelper.get_tables(params)}.should raise_error
end
it "should get files" do
params = ["table:Foo","file:foo.csv","table:Lol", "file:boo.csv"]
Ajaila::ConsoleHelper.get_files(params).should == ["foo.csv","boo.csv"]
- # params = ["table:Foo","file:foo.csv","table:Lol", "file:boo.csd"]
- # Ajaila::ConsoleHelper.get_files(params).should raise_error
+ params = ["table:Foo","file:foo.csv","table:Lol", "file:boo.csd"]
+ lambda{Ajaila::ConsoleHelper.get_files(params)}.should raise_error
end
it "should convert name to file" do

0 comments on commit bc43f72

Please sign in to comment.