Skip to content

Commit d6c0357

Browse files
committed
simplify tests, 100% pass rate, add locations, ensure devise usage
1 parent 79df635 commit d6c0357

File tree

76 files changed

+1685
-3554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1685
-3554
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FROM base as build
1919
# Install packages needed to build gems and Node.js for asset compilation
2020
# Also include packages needed for testing when building test image
2121
RUN apt-get update -qq && \
22-
apt-get install --no-install-recommends -y build-essential git libpq-dev libvips pkg-config curl && \
22+
apt-get install --no-install-recommends -y build-essential git libpq-dev libvips pkg-config curl jq && \
2323
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
2424
apt-get install -y nodejs && \
2525
npm install -g yarn
@@ -63,7 +63,7 @@ FROM base
6363

6464
# Install packages needed for deployment including Node.js for runtime JavaScript
6565
RUN apt-get update -qq && \
66-
apt-get install --no-install-recommends -y curl libvips postgresql-client && \
66+
apt-get install --no-install-recommends -y curl libvips postgresql-client jq && \
6767
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
6868
apt-get install -y nodejs && \
6969
npm install -g yarn && \
@@ -95,7 +95,7 @@ FROM build as test
9595

9696
# Install packages needed for testing
9797
RUN apt-get update -qq && \
98-
apt-get install --no-install-recommends -y postgresql-client && \
98+
apt-get install --no-install-recommends -y postgresql-client jq && \
9999
rm -rf /var/lib/apt/lists /var/cache/apt/archives
100100

101101
# Set test environment

GETTING_STARTED.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ This guide will help you set up and run StreamSource locally for development and
1414

1515
```bash
1616
# Navigate to the project directory
17-
cd /Users/sayhiben/dev/streamsource
17+
cd ~/dev/streamsource
1818

1919
# One-command setup (handles everything automatically)
2020
make setup
2121
```
2222

2323
This automated setup will:
2424
- ✅ Create `.env` file from template
25-
- ✅ Install Ruby gems and JavaScript dependencies
25+
- ✅ Install Ruby gems and JavaScript dependencies
2626
- ✅ Start PostgreSQL database
2727
- ✅ Run database migrations
2828
- ✅ Seed the database with sample data
@@ -101,7 +101,7 @@ make test
101101

102102
# Specific test types
103103
make test-models # Model tests only
104-
make test-requests # API/request tests only
104+
make test-requests # API/request tests only
105105
make test-features # Feature/system tests only
106106
make test-parallel # Faster parallel execution
107107
```
@@ -126,7 +126,7 @@ curl http://localhost:3000/health
126126
# Test database connectivity
127127
curl http://localhost:3000/health/db
128128

129-
# Test Redis connectivity
129+
# Test Redis connectivity
130130
curl http://localhost:3000/health/redis
131131

132132
# Test API endpoints (may require authentication)
@@ -303,7 +303,7 @@ For faster development, use these shortcut commands:
303303

304304
```bash
305305
make d # dev
306-
make u # up
306+
make u # up
307307
make l # logs
308308
make r # restart
309309
make s # status
@@ -333,7 +333,7 @@ If you encounter issues:
333333
Once you have StreamSource running locally:
334334

335335
-**Admin Interface**: http://localhost:3000/admin
336-
-**API Documentation**: http://localhost:3000/api-docs
336+
-**API Documentation**: http://localhost:3000/api-docs
337337
-**Health Monitoring**: http://localhost:3000/health
338338
-**Real-time Features**: WebSocket support enabled
339339
-**Development Tools**: Rails console, logs, debugging

TEST_COVERAGE.md

Lines changed: 0 additions & 297 deletions
This file was deleted.

0 commit comments

Comments
 (0)