require'spec_helper'describeJiraIssuedolet(:project){create(:project)}subject{JiraIssue.new('JIRA-123',project)}describe'id'dosubject{super().id}it{is_expected.toeq('JIRA-123')}enddescribe'iid'dosubject{super().iid}it{is_expected.toeq('JIRA-123')}enddescribe'to_s'dosubject{super().to_s}it{is_expected.toeq('JIRA-123')}enddescribe:==dospecify{expect(subject).toeq(JiraIssue.new('JIRA-123',project))}specify{expect(subject).not_toeq(JiraIssue.new('JIRA-124',project))}it'only compares with JiraIssues'doexpect(subject).not_toeq('JIRA-123')endendend