summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-09-18 16:30:16 -0600
committermo k <mo@mokhan.ca>2012-09-18 16:30:49 -0600
commita912f09976419e614fe8de52103b31b8d12a9096 (patch)
treef612cc17c54f63f624035fd678ce9566a600e590 /spec/javascripts
parentc2536e096768c669775390a0a24aae402fc86272 (diff)
change preview to match the look on the tutorials#index page.
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/presenters/new_tutorial_presenter_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/presenters/new_tutorial_presenter_spec.js b/spec/javascripts/presenters/new_tutorial_presenter_spec.js
index 52934bcb..52ed7300 100644
--- a/spec/javascripts/presenters/new_tutorial_presenter_spec.js
+++ b/spec/javascripts/presenters/new_tutorial_presenter_spec.js
@@ -12,7 +12,7 @@ describe ("NewTutorialPresenter", function() {
var view;
describe ("when the add tag button is clicked", function() {
it ("should add the new tag to the list of tags", function() {
- expect(view.tag_list.html()).toEqual('<li><a href="#" class="label">ruby</a></li>');
+ expect(view.tag_list.html()).toEqual('<a href="tags/"><span class="label">ruby</span></a>');
});
it ("should add the new tag to the hidden list of tags", function() {
expect(view.hidden_tag_list.val()).toEqual('ruby');