spec/helpers/dashboard_helper_spec.rb in woople-theme-0.6.19 vs spec/helpers/dashboard_helper_spec.rb in woople-theme-0.6.20

- old
+ new

@@ -53,22 +53,22 @@ end end context 'accordion inner' do user1 = { - id: 1, image: '/assets/retina_thumb/missing.png', name: 'Christopher Mudiappahpillai', member_dashboard_path: '/member_dashboards/2757', + reminder_path: '/', status_color: :red, status_description: '3 essentials and 123 elective points required.' } user2 = { - id: 2, image: 'https://woople.s3.amazonaws.com/gwar.jpg', name: 'Joannou Ng', member_dashboard_path: '/member_dashboards/113037', + reminder_path: '/', status_color: :yellow, status_description: '7 essentials and 113 elective points required.' } subject do @@ -92,9 +92,10 @@ page.all('.status-alert strong')[i].text.should eq user[:status_color].to_s.capitalize! page.all('.status-alert span')[i].text.should eq user[:status_description] end page.should have_css 'button.btn.btn-primary i.icon-envelope-alt.icon-white', count: 2 + page.should have_css 'button.btn.btn-primary i.icon-ok.icon-white', count: 2 end end end describe '#user_and_status' do