mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
11 lines
No EOL
228 B
Ruby
11 lines
No EOL
228 B
Ruby
require 'spec_helper'
|
|
|
|
describe FbGraph2::Collection do
|
|
context 'when non-collection object given' do
|
|
it do
|
|
expect do
|
|
FbGraph2::Collection.new 'scalar'
|
|
end.to raise_error ArgumentError
|
|
end
|
|
end
|
|
end |