end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
assert_nil IssueCategory.find_by_id(1)
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
assert_nil Issue.find_by_id(6)
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
assert_nil TimeEntry.find_by_id(2)
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
end
end
end
-
- def credentials(user, password=nil)
- ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
- end
end
ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime, true)
end
+ def credentials(user, password=nil)
+ ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)
+ end
+
# Mock out a file
def self.mock_file
file = 'a_file.png'