Skip to content

Instantly share code, notes, and snippets.

@davestevens
Created December 17, 2013 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davestevens/8005586 to your computer and use it in GitHub Desktop.
Save davestevens/8005586 to your computer and use it in GitHub Desktop.
describe clCreateContext do
let(:params) { nil }
subject { clCreateContext(params) }
context "when calling with nil mooses" do
let(:params) { mooses: nil }
its(:errcode_ret) { should == CL_INVALID_MOOSE }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment