initial site
write an integration test for testing appearance of announcement at the top of the page
create announcement model and move specs from requests to features because visit method of capybara is included in rspec/features in rspec2 version and not in rspec/requests
Now the test is passing
we don't want announcements that are not in starts_at ends_at range to be displayed but now they are
test the current scope of the Announcement model at low level
now only the announcements that are in the range of the actual time are displayed
we still have not passing feature because we grab announcements based on the time in the layout view disregarding hidden_ids
all is functional now but every time we hit hide annoucement we have a full refresh because of redirect, we want ti be hidden through javascript
write a test for javascript version; because this functionality is already implemented but doesn't rely on javascript will pass too
this time we have a failing test because we not stay on the same page, we visiting another page because of redirect
all test are passing now mission accomplished