On Bitbuckets pipelines, whenever I try to run a bundle exec rspec that contains rspec test that uses Active Storage I get the following error, for every of these tests: ActiveStorage::IntegrityError: ActiveStorage::IntegrityError # ./spec/requests/api/v1/spa_clients/identity_providers/update_spec.rb:127:in `block (3 levels) in <top (required)>’ # ./spec/requests/api/v1/spa_clients/identity_providers/update_spec.rb:135:in `block (3 levels) in <top (required)>’ This is weird since: If I run ..
I want to use a standalone container for integration specs with RSpecs in my docker setup. This is my docker-compose.yml # docker-compose.yml x-ata-development: &ata-development volumes: – ./tmp/capybara/:/usr/src/app/tmp/capybara – ./:/usr/src/app:delegated – /usr/src/app/tmp build: . version: "3.4" services: ata: <<: *ata-development ports: – 3000:3000 – 6006:6006 – 9229:9229 command: bash -c "bundle exec rails s -b 0.0.0.0" ..
Context I’m Dockerizing the development environment for a legacy Rails monolith, using a Dockerfile written for local env + docker-compose using that image to start different services. Goal I would like to run specs from RubyMine with just cmd+shift+R using Zeus – as it takes forever without. Attempt I have a service called test which ..
I’d like to run a fresh MySQL instance in a Docker Container as a Cloud Build, and then access that MySQL DB in a later step to run Unit Tests against. Is this possible? It appears as if I can run a Docker Container in a build step, but the step doesn’t complete until the ..
I’ll jump straight into the problem. I have installed a rspec gem for testing(add rspec gem, then bundle install and rails g rspec:install). However when I run docker-compose up to run my app with docker a web image does not work. Here is a log message returned from that image: web_1 | Could not find ..