Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.535 kB
# 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 MobileHelper do
describe "#aspect_select_options" do
it "adds an all option to the list of aspects" do
# options_from_collection_for_select(@aspects, "id", "name", @aspect.id)
n = Factory(:aspect)
options = aspect_select_options([n], n).split('\n')
options.first.should =~ /All/
end
end
end
Jump to Line
Something went wrong with that request. Please try again.