diaspora/spec/controllers/jasmine_fixtures/status_messages_spec.rb

19 lines
471 B
Ruby

# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require 'spec_helper'
describe StatusMessagesController, :type => :controller do
describe '#bookmarklet' do
before do
sign_in :user, bob
end
it "generates a jasmine fixture", :fixture => true do
get :bookmarklet
save_fixture(html_for("body"), "bookmarklet")
end
end
end