spec/issue_spec.rb in jiralicious-0.2.0 vs spec/issue_spec.rb in jiralicious-0.2.1

- old
+ new

@@ -132,18 +132,18 @@ issue.fields.set_name("assignee", "stanley.handschuh") issue.fields.set_id("priority", "1") issue.fields.set("labels", ["new_label_p"]) issue.fields.set("environment", "example of environment") issue.fields.set("description", "example of the description extending") - issue.save + issue.save! issue.jira_key.should == 'EX-2' issue.comments.comments.count.should == 0 issue.watchers.watchers.count.should == 1 end it "updates a new issue" do issue = Jiralicious::Issue.find("EX-3") - issue.fields.append_a("labels", "test_label") + issue.fields.append_a("labels", ["test_label"]) issue.fields.append_s("description", " updated description ") issue.save issue.jira_key.should == 'EX-3' issue['fields']['labels'].should == ["test_label"] issue['fields']['description'].should == "example bug report updated description "