Skip to content

Commit

Permalink
This is not doing much ATM
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Feb 20, 2016
1 parent 7b14325 commit c1d7047
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/views/welcome/index_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
describe 'welcome/index.html.erb' do
it 'presents data' do
assign(:metrics, [create(:glucose_measurement)])
assign(:widest, 4)
render
expect(rendered).to have_content 'Glucose'
end
end

0 comments on commit c1d7047

Please sign in to comment.