Skip to content
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

Add delete function to mapped values #33

Merged
merged 1 commit into from
Mar 8, 2013
Merged

Conversation

brentm5
Copy link
Owner

@brentm5 brentm5 commented Mar 8, 2013

Closes #31

@coveralls
Copy link

Coverage increased (+0.12%) when pulling 5f7c6fb8b0030b53d20acc9595a7e16fd4e8c5af on bm-mapped-values-deleteable into eb8991b on master.

View Details

click_link 'Delete Value'
end

def verify_mapped_value_deleted
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know the best way to test that the value was deleted. shoudl just just check that the value is not in the table?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly. Make the value unique among the others and make sure it goes away. Leave the flash test as well if you care about flash.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When i did that it stated that the value was not deleted for some reason.. but if i actually did it on the local server it did and the code deletes it from my understanding is there any way this could be cached or something weird?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing you're just not checking whatyou think you are. I'm sure there is no caching.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at your code again, I'm fairly certain that it is deleting properly, your test was probably just wrong. Try again :trollface: , also this is fun 🚎

@coveralls
Copy link

Coverage increased (+0.12%) when pulling 1a6a5dc on bm-mapped-values-deleteable into eb8991b on master.

View Details

@brentm5 brentm5 merged commit 1a6a5dc into master Mar 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mapped Values should be able to be deleted.
3 participants