-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix amazon cloud volume spec failures #13886
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
describe CloudVolume do | ||
it ".available" do | ||
disk = FactoryGirl.create(:disk) | ||
cv1 = FactoryGirl.create(:cloud_volume_amazon, :attachments => [disk]) | ||
cv2 = FactoryGirl.create(:cloud_volume_amazon) | ||
cv1 = FactoryGirl.create(:cloud_volume, :attachments => [disk]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 for using a base class There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gmcculloug |
||
cv2 = FactoryGirl.create(:cloud_volume) | ||
|
||
expect(described_class.available).to eq([cv2]) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice to see this go. Looks like we dont use it in the other repos too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh good call, I checked the rest of
ManageIQ/manageiq
to see if it was used but not the other repos.You're right though it looks like these are the only cases that use it https://github.com/search?q=org%3AManageIQ+cloud_volume_amazon&type=Code