Skip to content

Instantly share code, notes, and snippets.

@EvanBurchard
Created July 1, 2010 07:08
Show Gist options
  • Save EvanBurchard/459668 to your computer and use it in GitHub Desktop.
Save EvanBurchard/459668 to your computer and use it in GitHub Desktop.
WTF
Spec::Mocks::MockExpectationError in 'SchemesController when I successfully POST 'create should create the scheme'
<TweetScheme(id: integer, user_id: integer, title: string, description: string, type: string, random_interval: boolean, frequency: integer, tweet_prompt: string, tweet_prompt_relationship: string, prompt: string, target: string, target_relationship: string, created_at: datetime, updated_at: datetime) (class)> received :new with unexpected arguments
expected: ([{"title"=>"scheme", "type"=>"TweetScheme", "description"=>"this is a scheme"}])
got: ([{"title"=>"scheme", "type"=>"TweetScheme", "description"=>"this is a scheme"}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment